package com.yida.gwj.common.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yida.common.core.annotation.Excel;
import com.yida.common.core.web.domain.BaseEntity;
import com.yida.common.core.xss.Xss;

import java.util.Date;

/**
 * 业务（基础数据管理模块）对象 basis_business
 *
 * @author lqq
 * @date 2022-11-15
 */
public class GwjBaseBusiness extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 业务ID（yw_id）
	 */
	@Excel(name = "业务ID")
	private Long bizId;

	/**
	 * 业务编号（ywnum）
	 */
	@Excel(name = "业务编号")
	private Long bizNum;

	/**
	 * 业务标识（cate_id）
	 */
	@Excel(name = "业务标识ID")
	private Integer bizFlagId;

	/**
	 * 流程ID
	 */
	@Excel(name = "流程ID")
	private Long flowId;

	/**
	 * 当前步骤
	 */
	@Excel(name = "当前步骤")
	private Long stepId;

	/**
	 * 申请人名称（sqren）
	 */
	@Excel(name = "申请人名称")
	private String applicantName;

	/**
	 * 联系电话
	 */
	@Excel(name = "联系电话")
	private String phone;

	/**
	 * 当前办理人员ID（opuser）
	 */
	@Excel(name = "当前办理人员ID")
	private Long currentOperId;

	/**
	 * 受理员ID（cluser）
	 */
	@Excel(name = "受理员ID")
	private Long acceptUserId;

	/**
	 * 地址
	 */
	@Excel(name = "业务名称")
	private String bizName;

	/**
	 * 建档编号（codenum）
	 */
	@Excel(name = "建档编号")
	private String archivesNum;

	/**
	 * 0:正常，1：回退，2：完结
	 */
	@Excel(name = "0:正常，1：回退，2：完结")
	private String status;

	/**
	 * 申请时间（applytime）
	 */
	@Excel(name = "申请时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date applicantTime;

	/**
	 * 地区ID
	 */
	@Excel(name = "地区ID")
	private Long areaId;

	/**
	 * 当前办理人员
	 */
	@Excel(name = "当前办理人员")
	private String currentOperName;

	/**
	 * 当前办理人员
	 */
	@Excel(name = "受理办理人员")
	private String acceptUserName;

	public Long getCurrentOperId() {
		return currentOperId;
	}

	public void setCurrentOperId(Long currentOperId) {
		this.currentOperId = currentOperId;
	}

	public String getCurrentOperName() {
		return currentOperName;
	}

	public void setCurrentOperName(String currentOperName) {
		this.currentOperName = currentOperName;
	}

	public String getAcceptUserName() {
		return acceptUserName;
	}

	public void setAcceptUserName(String acceptUserName) {
		this.acceptUserName = acceptUserName;
	}

	public Long getBizId() {
		return bizId;
	}

	public void setBizId(Long bizId) {
		this.bizId = bizId;
	}

	public Long getBizNum() {
		return bizNum;
	}

	public void setBizNum(Long bizNum) {
		this.bizNum = bizNum;
	}

	public Integer getBizFlagId() {
		return bizFlagId;
	}

	public void setBizFlagId(Integer bizFlagId) {
		this.bizFlagId = bizFlagId;
	}

	public void setFlowId(Long flowId) {
		this.flowId = flowId;
	}

	public Long getFlowId() {
		return flowId;
	}

	public void setStepId(Long stepId) {
		this.stepId = stepId;
	}

	public Long getStepId() {
		return stepId;
	}

	@Xss(message = "申请人不能包含脚本字符")
	public String getApplicantName() {
		return applicantName;
	}

	public void setApplicantName(String applicantName) {
		this.applicantName = applicantName;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Xss(message = "联系电话不能包含脚本字符")
	public String getPhone() {
		return phone;
	}

	public void setAcceptUserId(Long acceptUserId) {
		this.acceptUserId = acceptUserId;
	}

	public Long getAcceptUserId() {
		return acceptUserId;
	}

	public void setBizName(String bizName) {
		this.bizName = bizName;
	}

	@Xss(message = "业务名称不能包含脚本字符")
	public String getBizName() {
		return bizName;
	}

	public void setArchivesNum(String archivesNum) {
		this.archivesNum = archivesNum;
	}

	@Xss(message = "建档编号不能包含脚本字符")
	public String getArchivesNum() {
		return archivesNum;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatus() {
		return status;
	}

	public void setApplicantTime(Date applicantTime) {
		this.applicantTime = applicantTime;
	}

	public Date getApplicantTime() {
		return applicantTime;
	}

	public Long getAreaId() {
		return areaId;
	}

	public void setAreaId(Long areaId) {
		this.areaId = areaId;
	}
}
